package de.hbrs.selectionengine.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class ServiceCandidateGraph implements Serializable {

	private static final long serialVersionUID = 1L;
	
	private String name;
	private List<ServiceClass> serviceClass;
	private Constraint constraint;

	
	public ServiceCandidateGraph() {
		super();
	}
	public ServiceCandidateGraph(String name) {
		this.name = name;
		this.serviceClass = new ArrayList<ServiceClass>();
	}
	public void addServiceClass(ServiceClass c) {
		this.serviceClass.add(c);
	}
	public String getName()
	{
		return name;
	}
	public void setName(String name)
	{
		this.name = name;
	}
	public List<ServiceClass> getServiceClass()
	{
		return serviceClass;
	}
	public void setServiceClass(List<ServiceClass> serviceClass)
	{
		this.serviceClass = serviceClass;
	}
	public Constraint getConstraint() {
		return constraint;
	}
	public void setConstraint(Constraint constraint) {
		this.constraint = constraint;
	}
}
